<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ page import="java.io.*"%>
<%@ page import="org.springside.core.Constants"%>
<%@ page import="cn.firstsoft.firstframe.admin.*"%>
<%@ page import="cn.firstsoft.firstframe.admin.time.*"%>

<%
String xml = System.getProperty("oa_application.config") + File.separator  + "cn" + File.separator  + "firstsoft" + File.separator  + "firstframe" + File.separator  + "plugins" + File.separator  + "quartz" + File.separator  + "applicationContext-quartz.xml";
QuartzXmlBean qxb = new QuartzXmlBean(xml);


String modifyType = request.getParameter("modifyType")==null?"":request.getParameter("modifyType");
String bean = request.getParameter("bean")==null?"":request.getParameter("bean");
String attribute = request.getParameter("attribute")==null?"":request.getParameter("attribute");
String attributeValue = request.getParameter("attributeValue")==null?"":request.getParameter("attributeValue");
String beanID = request.getParameter("beanID")==null?"":request.getParameter("beanID");

if("trigger".equals(bean)){
  if("modify".equals(modifyType)){
     qxb.modifyTrigger(beanID,attribute,attributeValue);
  } else if("delete".equals(modifyType)){
     
  }
}

response.sendRedirect("timer.jsp");

%>